const mongoose = require('mongoose')
const Schema = mongoose.Schema
// 存储文章信息的集合
const adminCollection = new Schema({
    //标题
    loginId: { type: String, required: true },
    name: { type: String, required: true },
    loginPwd: { type: String, required: true },
})

const Admin = mongoose.model('Admin', adminCollection)

module.exports = Admin


